﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Paginas_Publico/MasterPagePublic.Master" AutoEventWireup="true" CodeBehind="PagTrabalheConosco.aspx.cs" Inherits="WEB_MechSysWeb.Paginas_Publico.PagTrabalheConosco" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMaster" runat="server">
    <div id="divPagina">
        <div id="divTitulo" class="divTituloCad" style="height: 27px">
            Trabalhe Conosco
        </div>
        <AjaxControlToolkit:Accordion ID="accConteudo" runat="server" ContentCssClass="accordionContent"
            FadeTransitions="True" FramesPerSecond="40" HeaderCssClass="accordionHeaderPrinc"
            HeaderSelectedCssClass="accordionHeaderSelectedPrinc" Height="1280px" RequireOpenedPane="False"
            Style="margin-left: 5px; margin-right: 0px" SuppressHeaderPostbacks="true" Width="821px">
            <Panes>
                <AjaxControlToolkit:AccordionPane ID="accDadosPessoais" runat="server">
                    <Header>
                        Dados Pessoais
                    </Header>
                    <Content>
                        <table class="tableAccInterno">
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label33" runat="server" CssClass="Labels" Text="CPF: "></asp:Label>
                                </td>
                                <td>
                                    <asp:UpdatePanel ID="UpdatePanelCPF" runat="server">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtCPF" runat="server" Width="320px" AutoPostBack="true" OnTextChanged="txtCPF_TextChanged"></asp:TextBox>
                                            <asp:Image ID="imgValidacaoCPF" runat="server" Width="25px" Height="22px" Visible="false" />
                                            <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server" ClearMaskOnLostFocus="False"
                                                TargetControlID="txtCPF" Mask="999\.999\.999\-99">
                                            </AjaxControlToolkit:MaskedEditExtender>
                                            <asp:Label ID="lblValidacaoCPF" runat="server" Text="" ForeColor="Red"></asp:Label>
                                            <asp:CustomValidator ID="CustomValidatorCPF" runat="server" ErrorMessage="."
                                                OnServerValidate="CustomValidatorCPF_ServerValidate" ForeColor="Red" ValidationGroup="vgtxt"></asp:CustomValidator>
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="txtCPF" EventName="TextChanged" />
                                        </Triggers>
                                    </asp:UpdatePanel>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage="*Campo obrigatório!"
                                        ControlToValidate="txtCPF" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label34" runat="server" CssClass="Labels" Text="Nome*: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtNome" runat="server" Width="320px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="*Campo obrigatório!"
                                        ControlToValidate="txtNome" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label35" runat="server" CssClass="Labels" Text="Sobrenome*: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtSobrenome" runat="server" Width="320px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="*Campo obrigatório!"
                                        ControlToValidate="txtSobrenome" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label41" runat="server" CssClass="Labels" Text="Estado Civil*: "></asp:Label>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlEstadoCivil" runat="server" Width="320px">
                                         <asp:ListItem Value="1">Solteiro(a)</asp:ListItem>
                                         <asp:ListItem Value="2">Casado(a)</asp:ListItem>
                                         <asp:ListItem Value="3">Divorciado(a)</asp:ListItem>
                                         <asp:ListItem Value="4">Viúvo(a)</asp:ListItem>
                                    </asp:DropDownList>    
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label36" runat="server" CssClass="Labels" Text="Sexo: "></asp:Label>
                                </td>
                                <td>
                                    <asp:RadioButtonList ID="rblSexo" runat="server" Width="170px" RepeatColumns="2"
                                        RepeatLayout="Flow">
                                        <asp:ListItem Value="F">Feminino</asp:ListItem>
                                        <asp:ListItem Value="M">Masculino</asp:ListItem>
                                    </asp:RadioButtonList>
                                    <asp:CustomValidator ID="CustomValidatorSexo" runat="server" ErrorMessage="*Selecione o Sexo!"
                                        ControlToValidate="rblSexo" OnServerValidate="CustomValidatorSexo_ServerValidate" ForeColor="Red" ValidationGroup="vgtxt"></asp:CustomValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label37" runat="server" CssClass="Labels" Text="Data de Nascimento: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDataNascimento" runat="server" Width="320px"></asp:TextBox>
                                    <AjaxControlToolkit:MaskedEditExtender ID="mskDataNascimento" runat="server" TargetControlID="txtDataNascimento"
                                        Mask="99\/99\/9999" ClearMaskOnLostFocus="false" PromptCharacter="_">
                                    </AjaxControlToolkit:MaskedEditExtender>
                                    <AjaxControlToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDataNascimento"
                                        Format="dd/MM/yyyy">
                                    </AjaxControlToolkit:CalendarExtender>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ErrorMessage="*Campo obrigatório!"
                                        ControlToValidate="txtDataNascimento" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label38" runat="server" CssClass="Labels" Text="Telefone*: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtTelefone" runat="server" Width="320px"></asp:TextBox>
                                    <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender3" runat="server" ClearMaskOnLostFocus="False"
                                        Mask="\(99\)9999\-9999" TargetControlID="txtTelefone">
                                    </AjaxControlToolkit:MaskedEditExtender>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="*Campo obrigatório!"
                                        ControlToValidate="txtTelefone" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label39" runat="server" CssClass="Labels" Text="Celular: "></asp:Label>
                                </td>
                                <td class="auto-style1">
                                    <asp:TextBox ID="txtCelular" runat="server" Width="320px"></asp:TextBox>
                                    <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender4" runat="server" ClearMaskOnLostFocus="False"
                                        Mask="\(99\)9999\-9999" TargetControlID="txtCelular">
                                    </AjaxControlToolkit:MaskedEditExtender>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label40" runat="server" CssClass="Labels" Text="Email: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtEmail" runat="server" Width="320px"></asp:TextBox>   
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ErrorMessage="*Campo obrigatório!"
                                        ControlToValidate="txtEmail" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmail" runat="server" ErrorMessage="*Email Inválido!"
                                        ControlToValidate="txtEMail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="Red" ValidationGroup="vgtxt">
                                    </asp:RegularExpressionValidator>

                                </td>
                                <tr>
                                    <td class="auto-style12">
                                        <asp:Label ID="Label46" runat="server" CssClass="Labels" Text="Imagem do Perfil: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:FileUpload ID="FileUploadImagem" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style12">
                                        <asp:Label ID="Label1" runat="server" CssClass="Labels" Text="Facebook: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtFacebook" runat="server" Width="320px"></asp:TextBox>
                                </tr>
                                <tr>
                                    <td class="auto-style12">
                                        <asp:Label ID="Label2" runat="server" CssClass="Labels" Text="Linkedin: "></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtLinkedin" runat="server" Width="320px"></asp:TextBox>
                                </tr>
                        </table>
                    </Content>
                </AjaxControlToolkit:AccordionPane>
                <AjaxControlToolkit:AccordionPane ID="accEndereco" runat="server">
                    <Header>
                        Endereço
                    </Header>
                    <Content>
                        <asp:UpdatePanel ID="UpdatePanelEndereco" runat="server">
                            <ContentTemplate>
                                <table class="tableAccInterno">
                                    <tr>
                                        <td class="auto-style12">
                                            <asp:Label ID="Label14" runat="server" CssClass="Labels" Text="CEP*: "></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtCEP" runat="server" Width="320px" OnTextChanged="txtCEP_TextChanged" AutoPostBack="true"></asp:TextBox>
                                            <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender2" runat="server" ClearMaskOnLostFocus="False"
                                                Mask="99999\-999" TargetControlID="txtCEP">
                                            </AjaxControlToolkit:MaskedEditExtender>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="txtCEP"
                                                ErrorMessage="*Campo obrigatório!" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style12">
                                            <asp:Label ID="Label9" runat="server" CssClass="Labels" Text="Rua: "></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtRua" runat="server" Width="320px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style12">
                                            <asp:Label ID="Label10" runat="server" CssClass="Labels" Text="Número: "></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtNumero" runat="server" Width="320px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style12">
                                            <asp:Label ID="Label11" runat="server" CssClass="Labels" Text="Complemento: "></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtComplemento" runat="server" Width="320px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style12">
                                            <asp:Label ID="Label27" runat="server" CssClass="Labels" Text="Bairro"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtBairro" runat="server" Width="320px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style12">
                                            <asp:Label ID="Label12" runat="server" CssClass="Labels" Text="Cidade: "></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtCidade" runat="server" Width="320px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style12">
                                            <asp:Label ID="Label13" runat="server" CssClass="Labels" Text="Estado: "></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlEstado" runat="server" Width="320px"></asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="txtCEP" EventName="TextChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                    </Content>
                </AjaxControlToolkit:AccordionPane>
                <AjaxControlToolkit:AccordionPane ID="accFormacao" runat="server">
                    <Header>
                                        Formação Profissional
                                    </Header>
                    <Content>
                        <table class="tableAccInterno">
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label18" runat="server" CssClass="Labels" Text="Escolaridade*: "></asp:Label>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlEscolaridade" runat="server" Width="320px">
                                         <asp:ListItem Value="1">Sem Escolaridade</asp:ListItem>
                                         <asp:ListItem Value="2">Fundamental incompleto</asp:ListItem>
                                         <asp:ListItem Value="3">Fundamental Completo</asp:ListItem>
                                         <asp:ListItem Value="4">Ensino Técnico</asp:ListItem>
                                         <asp:ListItem Value="5">Superior Incompleto</asp:ListItem>
                                         <asp:ListItem Value="6">Superior Completo</asp:ListItem>                                        
                                    </asp:DropDownList>                                   
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label19" runat="server" CssClass="Labels" Text="Areas de Interesse*: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtAreas" runat="server" Width="320px" Height="70px" TextMode="MultiLine"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtAreas"
                                        ErrorMessage="*Campo obrigatório!" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label20" runat="server" CssClass="Labels" Text="Qualificações Profissionais*: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtQualificacoes" runat="server" Width="320px" Height="70px" TextMode="MultiLine"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtQualificacoes"
                                        ErrorMessage="*Campo obrigatório!" ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label22" runat="server" CssClass="Labels" Text="Objetivos profissionais: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtObjetivos" runat="server" Width="320px" Height="70px" TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </Content>
                </AjaxControlToolkit:AccordionPane>
                <AjaxControlToolkit:AccordionPane ID="AccordionPane1" runat="server">
                    <Header>
                                        Experiências Profissionais
                                    </Header>
                    <Content>
                        <table class="tableAccInterno">
                            <tr>
                                <td class="auto-style12">
                                    <asp:Label ID="Label28" runat="server" CssClass="Labels" Text="Local: "></asp:Label>
                                    <br />
                                    <asp:Label ID="Label29" runat="server" CssClass="Labels" Text="Período: "></asp:Label>
                                    <br />
                                    <br />
                                    <br />
                                    <asp:Label ID="Label21" runat="server" CssClass="Labels" Text="Descrição: "></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLocal" runat="server" Width="320px"></asp:TextBox>
                                    <br />
                                    <asp:TextBox ID="txtMesInicio" runat="server" Width="62px">&nbsp;</asp:TextBox>
                                    <asp:TextBox ID="txtAnoInicio" runat="server" Width="82px"></asp:TextBox>-
                                    <asp:TextBox ID="txtMesFim" runat="server" Width="62px">&nbsp;
                                    </asp:TextBox><asp:TextBox ID="txtAnoFim" runat="server" Width="82px"></asp:TextBox>
                                    <br />
                                    <asp:TextBox ID="txtDescricao" runat="server" Width="320px" Height="70px" TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </Content>
                </AjaxControlToolkit:AccordionPane>
            </Panes>
        </AjaxControlToolkit:Accordion>
        <asp:UpdatePanel ID="UpdatePanel5" runat="server">
            <ContentTemplate>
                <div id="divCaptcha" class="divCaptcha">
                    <asp:Label ID="Label5" runat="server" CssClass="CaptchaComponent" Text="Informe os valores da imagem: " ForeColor="Black"></asp:Label>
                    <asp:Image ID="imgCaptcha" runat="server" />
                    <asp:TextBox ID="txtCaptcha" runat="server" Width="163px" CssClass="CaptchaComponent" AutoPostBack="true" OnTextChanged="txtCaptcha_TextChanged" />
                    <asp:Image ID="imgValidacaoCaptcha" runat="server" Width="25px" Height="22px" CssClass="CaptchaComponent" Visible="False" />
                    <asp:Label ID="lblValidacaoCaptcha" runat="server" Text="" ForeColor="Red"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server"
                        ControlToValidate="txtCaptcha" ErrorMessage="*Sequência numérica obrigatória!"
                        ForeColor="Red" ValidationGroup="vgtxt"></asp:RequiredFieldValidator>
                    <asp:CustomValidator ID="CustomValidatorCaptcha" runat="server" ErrorMessage="." OnServerValidate="CustomValidatorCaptcha_ServerValidate" ForeColor="Red"></asp:CustomValidator>
                </div>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="txtCaptcha" EventName="TextChanged" />
            </Triggers>
        </asp:UpdatePanel>
        <div id="divBotoesCad">
            <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CssClass="botoesTrab" ForeColor="White" OnClick="btnCancelar_Click" />
            <asp:Button ID="btnCadastrar" runat="server" Text="Cadastrar" CssClass="botoesTrab" ForeColor="White" ValidationGroup="vgtxt" OnClick="btnCadastrar_Click"/>
        </div>
        <div id="divRodapeAcc" class="divRodapeAcc"></div>
    </div>    
</asp:Content>

